package com.ukao.cashregister.bean;

/**
 * Created by ukaodev on 2017/6/27.
 */

public class AccountLoginBean  extends  BaseBean<AccountLoginBean> {



        /**
         * storeInfo : {"id":19,"mercId":1,"cityId":1,"name":"友靠麓云店","code":"30306468","regionalId":310404,"regionalDesc":"上海徐汇徐汇区","addrDesc":"的奋斗","longitude":"","latitude":"","tel":"18777554447","status":0,"workId":44,"createBy":8,"createTime":1497257930000,"updateBy":66,"updateTime":1505294355000}
         * accessToken : e1jcqkuxsrtc2uat9j1irqtymofbt8lz
         * storeId : 19
         * mercInfo : {"name":"友靠商户"}
         * workerInfo : {"id":32,"mercId":1,"cityId":1,"wxId":-1,"name":"小马子","phone":"18775554447","code":"99499678","imgPath":"/static/img/work/def.png","isRest":1,"status":1,"roleId":3,"isBinding":0,"createBy":8,"createTime":1496975845000,"updateBy":null,"updateTime":null}
         */

        private StoreInfoBean storeInfo;
        private String accessToken;
        private String storeId;
        private MercInfoBean mercInfo;
        private WorkerInfoBean workerInfo;

        public StoreInfoBean getStoreInfo() {
            return storeInfo;
        }

        public void setStoreInfo(StoreInfoBean storeInfo) {
            this.storeInfo = storeInfo;
        }

        public String getAccessToken() {
            return accessToken;
        }

        public void setAccessToken(String accessToken) {
            this.accessToken = accessToken;
        }

        public String getStoreId() {
            return storeId;
        }

        public void setStoreId(String storeId) {
            this.storeId = storeId;
        }

        public MercInfoBean getMercInfo() {
            return mercInfo;
        }

        public void setMercInfo(MercInfoBean mercInfo) {
            this.mercInfo = mercInfo;
        }

        public WorkerInfoBean getWorkerInfo() {
            return workerInfo;
        }

        public void setWorkerInfo(WorkerInfoBean workerInfo) {
            this.workerInfo = workerInfo;
        }

        public static class StoreInfoBean {
            /**
             * id : 19
             * mercId : 1
             * cityId : 1
             * name : 友靠麓云店
             * code : 30306468
             * regionalId : 310404
             * regionalDesc : 上海徐汇徐汇区
             * addrDesc : 的奋斗
             * longitude :
             * latitude :
             * tel : 18777554447
             * status : 0
             * workId : 44
             * createBy : 8
             * createTime : 1497257930000
             * updateBy : 66
             * updateTime : 1505294355000
             */

            private int id;
            private int mercId;
            private int cityId;
            private String name;
            private String code;
            private int regionalId;
            private String regionalDesc;
            private String addrDesc;
            private String longitude;
            private String latitude;
            private String tel;
            private int status;
            private int workId;
            private int createBy;
            private long createTime;
            private int updateBy;
            private long updateTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getMercId() {
                return mercId;
            }

            public void setMercId(int mercId) {
                this.mercId = mercId;
            }

            public int getCityId() {
                return cityId;
            }

            public void setCityId(int cityId) {
                this.cityId = cityId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public int getRegionalId() {
                return regionalId;
            }

            public void setRegionalId(int regionalId) {
                this.regionalId = regionalId;
            }

            public String getRegionalDesc() {
                return regionalDesc;
            }

            public void setRegionalDesc(String regionalDesc) {
                this.regionalDesc = regionalDesc;
            }

            public String getAddrDesc() {
                return addrDesc;
            }

            public void setAddrDesc(String addrDesc) {
                this.addrDesc = addrDesc;
            }

            public String getLongitude() {
                return longitude;
            }

            public void setLongitude(String longitude) {
                this.longitude = longitude;
            }

            public String getLatitude() {
                return latitude;
            }

            public void setLatitude(String latitude) {
                this.latitude = latitude;
            }

            public String getTel() {
                return tel;
            }

            public void setTel(String tel) {
                this.tel = tel;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getWorkId() {
                return workId;
            }

            public void setWorkId(int workId) {
                this.workId = workId;
            }

            public int getCreateBy() {
                return createBy;
            }

            public void setCreateBy(int createBy) {
                this.createBy = createBy;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public int getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(int updateBy) {
                this.updateBy = updateBy;
            }

            public long getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(long updateTime) {
                this.updateTime = updateTime;
            }
        }

        public static class MercInfoBean {
            /**
             * name : 友靠商户
             */

            private String name;//商户名称
            private String logoPath;//商户图片 若为空取默认图片
            private String mainInfo;//商户主体信息。

            public String getLogoPath() {
                return logoPath;
            }

            public void setLogoPath(String logoPath) {
                this.logoPath = logoPath;
            }

            public String getMainInfo() {
                return mainInfo;
            }

            public void setMainInfo(String mainInfo) {
                this.mainInfo = mainInfo;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class WorkerInfoBean {
            /**
             * id : 32
             * mercId : 1
             * cityId : 1
             * wxId : -1
             * name : 小马子
             * phone : 18775554447
             * code : 99499678
             * imgPath : /static/img/work/def.png
             * isRest : 1
             * status : 1
             * roleId : 3
             * isBinding : 0
             * createBy : 8
             * createTime : 1496975845000
             * updateBy : null
             * updateTime : null
             */

            private int id;
            private int mercId;
            private int cityId;
            private int wxId;
            private String name;
            private String phone;
            private String code;
            private String imgPath;
            private int isRest;
            private int status;
            private int roleId;
            private int isBinding;
            private int createBy;
            private long createTime;
            private Object updateBy;
            private Object updateTime;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getMercId() {
                return mercId;
            }

            public void setMercId(int mercId) {
                this.mercId = mercId;
            }

            public int getCityId() {
                return cityId;
            }

            public void setCityId(int cityId) {
                this.cityId = cityId;
            }

            public int getWxId() {
                return wxId;
            }

            public void setWxId(int wxId) {
                this.wxId = wxId;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public String getCode() {
                return code;
            }

            public void setCode(String code) {
                this.code = code;
            }

            public String getImgPath() {
                return imgPath;
            }

            public void setImgPath(String imgPath) {
                this.imgPath = imgPath;
            }

            public int getIsRest() {
                return isRest;
            }

            public void setIsRest(int isRest) {
                this.isRest = isRest;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public int getRoleId() {
                return roleId;
            }

            public void setRoleId(int roleId) {
                this.roleId = roleId;
            }

            public int getIsBinding() {
                return isBinding;
            }

            public void setIsBinding(int isBinding) {
                this.isBinding = isBinding;
            }

            public int getCreateBy() {
                return createBy;
            }

            public void setCreateBy(int createBy) {
                this.createBy = createBy;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public Object getUpdateBy() {
                return updateBy;
            }

            public void setUpdateBy(Object updateBy) {
                this.updateBy = updateBy;
            }

            public Object getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(Object updateTime) {
                this.updateTime = updateTime;
            }
        }

}

